package com.joezhou.spring.component.service.impl;

import com.joezhou.spring.component.mapper.DogMapper;
import com.joezhou.spring.component.service.DogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author JoeZhou
 * <bean id="dogServiceImpl" class="com.joezhou.spring.component.service.impl.DogServiceImpl"/>
 */
@Slf4j
@Service
public class DogServiceImpl implements DogService {

    @Autowired
    private DogMapper dogMapper;

    @Override
    public void insert() {
        log.info("DogServiceImpl.insert()...");
        dogMapper.insert();
    }
}
